package hao.d02;
import java.io.*;
import java.util.Arrays;
import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int sc=scanner.nextInt();
        int[] a=new int[sc];
        for (int i = 0; i <sc ; i++) {
            a[i]=scanner.nextInt();
        }
        Arrays.sort(a);
        for (int i = 0; i <sc ; i++) {
            System.out.println(a[i]);
        }
    }
}


